         P m p o r t   j a v a . P o . * ; 
 
               p u b l P c   c l a s s   F P l e C h e c k e r   
 
                 { 
 
     p u b l P c   s t a t P c   v o P d   m a P n ( S t r P n g   a r g s [ ] ) 
 
                                         t h r o w s   I O E x c e p t P o n 
 
                   { 
 
                 F P l e   f = n e w   F P l e ( " a " ) ; 
 
                   S y s t e m . o u t . p r P n t l n ( f . e x P s t s (   ) ) ; 
 
                   f . m k d P r (   ) ; 
 
 / /                   F P l e     f 2 = n e w   F P l e ( " a " , " f P r s t . t x t " ) ;   
 
                   F P l e     f 2 = n e w   F P l e ( f , " f P r s t . g P f " ) ;   
 
                   f 2 . c r e a t e N e w F P l e ( ) ; 
 
                   S y s t e m . o u t . p r P n t l n ( f . P s D P r e c t o r y (   ) ) ; 
 
                   S y s t e m . o u t . p r P n t l n ( f 2 . P s F P l e (   ) ) ; 
 
                   S t r P n g   s = f 2 . g e t N a m e (   ) ;     
 
                   S y s t e m . o u t . p r P n t l n ( s ) ; 
 
                   S y s t e m . o u t . p r P n t l n ( f 2 . g e t P a t h ( ) ) ; 
 
                   S y s t e m . o u t . p r P n t l n ( f 2 . g e t A b s o l u t e P a t h ( ) ) ;   
 
                   f 2 . d e l e t e (   ) ;           
 
                     S y s t e m . o u t . p r P n t l n ( f 2 . e x P s t s (   ) ) ; 
 
             
 
                     F P l e   f 3 = n e w   F P l e ( " b / c / d " ) ; 
 
                     f 3 . m k d P r s (   ) ; 
 
 
 
                     F P l e   f 4 = n e w   F P l e ( " c : / " ) ; 
 
                     S t r P n g [ ]   l P s t = f 4 . l P s t ( ) ;                     
 
                     f o r ( P n t   P = 0 ; P < l P s t . l e n g t h ; P + + )     
 
                           S y s t e m . o u t . p r P n t l n ( l P s t [ P ] ) ; 
 
 
 
                     F P l e [ ]   l P s t f P l e = f 4 . l P s t F P l e s ( ) ;                     
 
                     f o r ( P n t   P = 0 ; P < l P s t f P l e . l e n g t h ; P + + )     
 
                           S y s t e m . o u t . p r P n t l n ( l P s t f P l e [ P ] . g e t N a m e (   ) ) ; 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
                     } 
 
               } a a a a a a a a a a a a a a a a a a 
 
 a a a a a a a a a a a a a a a a a 
 
 a a a a a a a a a a a a a a a a a